﻿using Microsoft.WowAddonStudio.FrameXml.Serialization.Support;
using NUnit.Framework;
using System.IO;

namespace Microsoft.WowAddonStudio.FrameXml.Serialization.Tests
{
    [TestFixture]
    public class FrameXmlDirectoryTest : FrameXmlDirectoryTestBase
    {
/*
        [Test]
        public void RegisterTocFileTest()
        {
            // Register FrameXML TOC file
            FrameXmlDirectory.RegisterTocFile("Data/WoW/FrameXML.toc");

            Assert.AreEqual(238, FrameXmlDirectory.Default.Count);

            Assert.IsTrue(FrameXmlDirectory.Default.IsRegistered("QuestLogTitleButtonTemplate"));
            Assert.IsTrue(FrameXmlDirectory.Default.Resolve("QuestLogTitleButtonTemplate") is Button);

            var myButton = new Button
                               {
                                   Name = "MyButton",
                                   Inherits = "QuestLogTitleButtonTemplate"
                               };

            Assert.IsNotNull(myButton.InheritedObject);
        }
*/
    }
}
